home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 261_01 / as68.mak < prev    next >
Text File  |  1988-02-23  |  896b  |  54 lines

  1. # as68.mak - make file for as68 program
  2. # (note - this is setup for the Polytron "PolyMake")
  3. # 03-03-87 srd: create - setup for codeview debuggable
  4.  
  5. # Explicitly state target
  6. #
  7. as68 : as68.exe
  8.  
  9. # General rule for making an object file from a .C file
  10. #
  11. .c.obj :
  12.     cl -DLINT_ARGS -AS -Od -Ze -Zi -Zp -Fo$@ $< -c >>as68.err
  13.  
  14. # Where the .obj's and .lib's are supposed to live
  15. #
  16. .PATH.obj = bin
  17. .PATH.lib = c:\lib
  18.  
  19. # List of all the libraries used...
  20. #
  21. LIBS = slibce.lib
  22.  
  23.  
  24. # List of all object files
  25. #
  26. OBJS =\
  27. as68.obj \
  28. aserr.obj \
  29. asetc.obj \
  30. asinit.obj \
  31. asmt.obj \
  32. bc.obj \
  33. bc1.obj \
  34. bc2.obj \
  35. lib68.obj \
  36. pop.obj \
  37. psdo.obj \
  38. psdo1.obj \
  39. psdo2.obj \
  40. symtbl.obj
  41.  
  42.  
  43. # Link modules to create as68.exe
  44. #
  45. as68.exe : $(OBJS) $(LIBS)
  46.      link <@<
  47. $[s," +\n",$[f,$(.PATH.obj),$(OBJS)]]
  48. $* /NOD /MAP /CO
  49. $*
  50. $(LIBS)
  51. < >as68.lst
  52.  
  53.  
  54.